home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Burning & Media
/
GB-PVR 1.2.13
/
GBPVR10213.msi
/
Cabs.w1.cab
/
Search.aspx147
< prev
next >
Wrap
Text File
|
2008-02-23
|
12KB
|
202 lines
<%@ Page language="c#" Debug="true" Inherits="gbweb.Search" CodeFile="Search.aspx.cs" culture="auto" uiculture="auto" %>
<%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header.ascx" %>
<%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer.ascx" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>GBPVR - Advanced Episode Search</title>
<link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/styles.css">
<link rel="shortcut icon" type="image/gif" href="<%=System.Convert.ToString(Session["theme"])%>/favicon.gif">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="javascript" src="public/Ajax.js"></script>
<script language="JavaScript">
function checkFocus(e)
{
if (e.type == "load")
{
document.formRecord.searchPhrase.focus();
}
}
function checkSubmit(e)
{
if (e.keyCode == 13)
{
eval(document.getElementById('hlSubmit').href);
}
}
</script>
<script language="javascript" src="public/popup.js"></script>
</HEAD>
<body class="tabbedpage" onload="return checkFocus(event), GetServerTime(), GetReminders();" onkeypress="return checkSubmit(event);">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
<Services>
<asp:ServiceReference Path="~/AjaxService.asmx" />
</Services>
</asp:ScriptManager>
<form id="formRecord" runat="server">
<gbpvr:Header id="header" runat="server" ActiveTab="search" />
<!-- Topbar end -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align=left valign=top><IMG height="14" src="public/t.gif" width="1" border="0"></td>
<td>
<table cellSpacing="0" border="0" cellpadding="0">
<tr>
<td align=left valign=top id=timeDiv class=time></td>
<td align=left valign=top><IMG height="1" src="public/t.gif" width="15" border="0"></td>
<td align=left valign=top id=REMINDER_DIV class=time ></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<img border="0" height="10" src="public/t.gif" width="10" />
<img src="public/t.gif" width="1" height="14" border="0">
<span style="width: 116px"><a class="listing" href="ManualRecord.aspx" onclick="EditPop3(this.href,'Add0');return false;">
Manual Record</a><img border="0" height="1" src="public/t.gif" width="4" /></span></td>
</tr>
<tr>
<td width="10"><img src="public/t.gif" width="10" height="1" border="0"></td>
<td width="99%">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="99%" class="cline"><img src="public/t.gif" width="400" height="1" border="0"></td>
</tr>
<tr>
<td width="99%"><span class="date"> <img src="public/t.gif" width="1" height="4"><br>
<b>Advanced Episode Search</b></span></td>
</tr>
</table>
<img src="public/t.gif" width="1" height="10"><br>
<!-- Search table begin-->
<span class="keysearch"></span>
<table class="listing" border="0">
<colgroup>
<col width="170">
<col width="5">
<col width="400">
</colgroup>
<tr valign="top">
<td align="right">
<strong>Saved Search Filters:</strong></td>
<td rowspan="1" style="width: 5px">
</td>
<td align="left" style="width: 596px">
<asp:RadioButtonList ID="savedSearchFilter" runat="server" AutoPostBack="True" OnSelectedIndexChanged="savedSearchFilter_SelectedIndexChanged"
RepeatDirection="Horizontal" RepeatLayout="Flow" Width="594px">
<asp:ListItem Selected="True" Value="all">All</asp:ListItem>
<asp:ListItem Value="auto">Auto Searches</asp:ListItem>
<asp:ListItem Value="auto-record">Auto Records</asp:ListItem>
<asp:ListItem Value="auto-all">Auto Search or Record</asp:ListItem>
<asp:ListItem Value="non-auto">Non-Auto Searches</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr valign="top">
<td align="right">
<strong>Use Saved Search:</strong>
</td>
<td rowspan="1" style="width: 5px">
</td>
<td align="left" style="width: 596px">
<span><asp:DropDownList ID="savedSearchList" runat="server" Width="469px" AutoPostBack="True" OnSelectedIndexChanged="loadSearch">
</asp:DropDownList>
<asp:LinkButton ID="deleteSavedSearch" runat="server" OnClick="deleteSavedSearch_Click" CssClass="btn-normal-small" ><span>Delete</span></asp:LinkButton>
<asp:LinkButton ID="updateSearch" runat="server" CssClass="btn-normal-small" OnClick="updateSavedSearch_Click"><span>Update</span></asp:LinkButton></span></td>
</tr>
<tr valign="top">
<td align="right">
<strong>Saved Search Name:</strong></td>
<td rowspan="1" style="width: 5px">
</td>
<td align="left" style="width: 596px">
<input type="text" name="textKeyWord" id="newSearchName" runat="server" style="width: 467px">
<asp:LinkButton ID="saveSearch" runat="server" OnClick="saveSearch_Click" CssClass="btn-normal-small"><span>Save</span></asp:LinkButton><br />
<span visible="false"><input type="checkbox" name="autoSearchInclude" id="autoSearchInclude" runat="server" value="">
Include in Daily Auto-Search (Sets reminders on Programmes)<br /></span>
<input type="checkbox" name="autoRecordInclude" id="autoRecordInclude" runat="server" value="">
Include in Daily Auto-Record (Schedules Programmes to record)</td>
</tr>
<tr valign="top">
<td align="right"><B>Search Areas:</B></td>
<td rowspan="8" style="width: 5px"></td>
<td align="left" style="width: 596px"><input type="checkbox" name="checkTitle" checked id="checkTitle" runat="server">Title
<input type="checkbox" name="checkDesc" id="checkDescription" runat="server">Description <input type="checkbox" name="checkSubtitle" id="checkSubTitle" runat="server">Subtitle
</td>
</tr>
<tr valign="top">
<td align="right"><B>Search For Phrase:</B></td>
<td align="left" style="width: 596px"><input type="text" name="textKeyWord" size="50" id="searchPhrase" runat="server">
<input type="checkbox" name="caseSensitive" id="caseSensitive" runat="server" title="Selecting this will force the search to match the case of the letters entered in the search phrase.">Case Sensitive</td>
</tr>
<tr valign="top">
<td align="right"><B>Genre:</B></td>
<td align="left" style="width: 596px"><asp:ListBox id="genreList" runat="server" SelectionMode="Multiple" Rows="8"></asp:ListBox></td>
</tr>
<tr valign="top">
<td align="right">
<strong>Date Range:</strong></td>
<td align="left" style="width: 596px">
Start Date:
<ew:CalendarPopUp ID="startDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True"></ew:CalendarPopUp>
End Date:
<ew:CalendarPopUp ID="endDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True"></ew:CalendarPopUp></td>
</tr>
<tr valign="top">
<td align="right">
<strong>Time Range:</strong></td>
<td align="left" style="width: 596px">
Start Time:
<ew:TimePicker ID="startTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True"></ew:TimePicker>
End Time:
<ew:TimePicker ID="endTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True"></ew:TimePicker></td>
</tr>
<tr valign="top">
<td align="right"><B>Program Length:</B></td>
<td align="left" style="width: 596px"><input type="text" name="textMinLength" size="5" id="textMinLength" runat="server"> to <input type="text" name="textMaxLength" size="5" id="textMaxLength" runat="server">
(in minutes)
</td>
</tr>
<span runat="server" id="treeViewSort">
<tr valign="top">
<td align="right">
<strong>Sort Order:</strong></td>
<td align="left" style="width: 596px">
<asp:RadioButtonList ID="srtOrder" runat="server" RepeatDirection="Horizontal" Width="546px" Height="11px" RepeatLayout="Flow">
<asp:ListItem Selected="True" Value="title">Title</asp:ListItem>
<asp:ListItem Value="genre">Genre</asp:ListItem>
<asp:ListItem Value="rating">Rating</asp:ListItem>
<asp:ListItem Value="date">Air Date (ad)</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</span>
<tr valign="top">
<td align="right"><B>Channel:</B></td>
<td align="left" style="width: 596px"><asp:ListBox id="listChannels" runat="server" SelectionMode="Multiple" Rows="6"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3"><br>
<div style="FLOAT: right">
<asp:LinkButton id="hlSubmit" runat="server" CssClass="btn-normal-small" onclick="hlSubmit_Click">
<span>Submit</span></asp:LinkButton>
<asp:LinkButton id="hlReset" runat=server CssClass="btn-normal-small" OnClick="hlReset_Click">
<span>Reset</span></asp:LinkButton>
</div>
</td>
</tr>
</table>
<!-- Search table end -->
<gbpvr:Footer id="footer" runat="server" />
</td>
<td width="10"><img src="public/t.gif" width="10" height="71" border="0"></td>
</tr>
</table>
</form>
</body>
</HTML>